<?php
$myfile = fopen("site.txt", "a") or die("Unable to open file!");
$txt = '【 '.$site_name.' 】'.$site_url.' —— 创建时间：' . $site_time. "\n";
fwrite($myfile, $txt);
fclose($myfile);

?>